home *** CD-ROM | disk | FTP | other *** search
/ MacHome 2001 May / MacHome CD (May 2001).iso / mac / Stuff / Software / Home / Language Assistant 2.1 / Translators / lycos.trn < prev   
Text File  |  2001-01-21  |  4KB  |  109 lines

  1. # A translator definition file for use with Language Assistant
  2. # General form: varname=value
  3. # Extended form: varname=name:value
  4. #
  5. # General form is used in most cases; extended form is used only when the 
  6. # variable contains two parts, an identifier or name, and an actual value.
  7. # The presence of whitespace before and after the equals sign will not
  8. # affect anything.
  9. # Arrays are notated with []s after their names; these special variables 
  10. # may be set as many times as necessary to append more values to them.
  11. # Extended form arrays are notated with [][]s after their names.
  12. #
  13. # And, as you have probably noticed by now, lines that begin with a '#'
  14. # sign are treated as comments and will not be evaluated.
  15. # The following constants are available for use throughout this file:
  16. # $la_language1: the name (or identifier) of the first language menu
  17. # $la_language2: the name (or identifier) of the second language menu
  18. # $la_text: the text typed into the translation box
  19. #
  20. # Note: only one language menu will appear if the language_type is set to
  21. # 'single'.  In this case, you should use $la_language1 to retrive the 
  22. # language.
  23.  
  24. # cookie[][]: the names of any cookies that should be retrieved
  25. cookie=sessionid:
  26.  
  27. # cookie_host: the domain name of the host to retrieve cookies from
  28. cookie_host=translation.lycos.com
  29.  
  30. # cookie_port: the port of the host to retrieve cookies from
  31. cookie_port=80
  32.  
  33. # cookie_script: the name of the script or file to retrive cookies from
  34. cookie_script=/
  35.  
  36. # data_start[]: a unique string that directly precedes the translated next
  37. data_start=<textarea name="urltranslated" cols="50" rows="6">
  38.  
  39. # data_end[]: a unique string that comes directly after the translated next
  40. data_end=</textarea>
  41.  
  42. # add more (optional) possible data_starts and data_ends
  43. #data_start=<td bgcolor=white>
  44. #data_end=</td>
  45.  
  46. # the internet text encoding name to use with the MacOS Text Encoding Converter
  47. encoding=iso-8859-1
  48.  
  49. # engine_name: the name of the translator
  50. engine_name=Lycos
  51.  
  52. # form_input[][]: an array of html form inputs to send to the translation server
  53. form_input=lp:$la_language1
  54.  
  55. # add more form_inputs
  56. form_input=urltext:$la_text
  57. form_input=submit:Translate
  58. form_input=partner:demo-Lycos2-en
  59.  
  60. # form_type: html form type; always either 'get' or 'post'
  61. form_type=get
  62.  
  63. # get_cookies: should we query cookie_host for cookies during the 
  64. # "Starting up..." stage?
  65. get_cookies=false
  66.  
  67. # language[][]: the different languages and their "identifiers"
  68. language=en_fr:English to French
  69.  
  70. # add more languages
  71. language=en_de:English to German
  72. language=en_it:English to Italian
  73. language=en_pt:English to Portuguese
  74. language=en_es:English to Spanish
  75. language=fr_en:French to English
  76. language=fr_de:French to German
  77. language=de_en:German to English
  78. language=de_fr:German to French
  79. language=it_en:Italian to English
  80. language=pt_en:Portuguese to English
  81. language=es_en:Spanish to English
  82. language=fr_it:French to Italian
  83. language=fr_pt:French to Portuguese
  84. language=fr_nl:French to Dutch
  85. language=fr_es:French to Spanish
  86.  
  87. # language1_default: default menu selection for language1
  88. language1_default: en_fr
  89.  
  90. # language2_default: default menu selection for language2 (use if language_type=dual)
  91. language2_default: 
  92.  
  93. # language_type: should we show two translation menus, or just one; always 'single' or 'dual'
  94. language_type=single
  95.  
  96. # referrer: referrer to use when sending http requests to the translation server
  97. referrer=http://translation.lycos.com/
  98.  
  99. # translate_host: the domain name of the host to retrieve translations from
  100. translate_host=translation.lycos.com
  101.  
  102. # translate_port: the port of the host to retrieve translations from
  103. translate_port=80
  104.  
  105. # cookie_script: the name of the script or file to retrive translations from
  106. translate_script=/